package cn.zbh.system.service.impl;

import cn.zbh.basic.service.impl.BasicServiceImpl;
import cn.zbh.system.domain.Systemdictionarydetail;
import cn.zbh.system.domain.Systemdictionarytype;
import cn.zbh.system.mapper.SystemdictionarydetailMapper;
import cn.zbh.system.service.ISystemdictionarydetailService;
import cn.zbh.system.service.ISystemdictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(readOnly = true,propagation = Propagation.SUPPORTS)
public class SystemdictionarydetailServiceImpl extends BasicServiceImpl<Systemdictionarydetail> implements ISystemdictionarydetailService{

@Autowired
private SystemdictionarydetailMapper systemdictionarydetailMapper;
    @Override
    public List<Systemdictionarydetail> loadByTypeId(Long types_id) {
        return systemdictionarydetailMapper.loadByTypeId(types_id);
    }
}
